package com.ruoyi.video.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Description: new java files header..
 *
 * @author 兰剑
 * @version 1.0
 * @date 2023/2/27 11:23
 */
@Data
@TableName("tb_video")
public class VideoEntity implements Serializable {

//    课程主键id
    @TableId(type = IdType.AUTO)
    private Integer vid;
//    课程编号
    private String videoNumber;
//    视频描述
    private String videoContent;
//    视频作者
    private String videoAutor;
    //上传视频
    private String video;
//    创建时间
    private Date createTime;
//    修改时间
    private Date updateTime;
//    课程状态
//    1默认为待审核，2代表审核通过，0代表已驳回
    private Integer videoStatus;
    //逻辑删除
    private Integer del;



//    临时查询
    @TableField(exist = false)
    private int pageNum;
    @TableField(exist = false)
    private int pageSize;

    @TableField(exist = false)
    private Date minTime;
    @TableField(exist = false)
    private Date maxTime;
}
